import React, { Component } from 'react';
import {
    StyleSheet,
    Text,
    Image,
    View,
    Navigator,
    Dimensions
} from 'react-native';
import UserInfo from '../components/userInfo';
import Login from '../components/login';
import { StackNavigator } from 'react-navigation';
const winWidth = Dimensions.get('window').width;
const styles = StyleSheet.create({
    root: {
        flex: 1
    },
});
const SimpleApp = StackNavigator({
    UserCenter: { screen: UserInfo },
    Login: { screen: Login },
});
export default SimpleApp;
